package org.example.route.model.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "价格传输")
public class PriceDTO {

    @Schema(description = "价格id，修改时必传")
    private Long id;
    @Schema(description = "出发站id")
    private Long goId1;
    @Schema(description = "到达站id")
    private Long goId2;
    @Schema(description = "车次id")
    private Long trainId;
    @Schema(description = "价格")
    private Double thePrice;
    @Schema(description = "等级")
    private Long grade;
    @Schema(description = "数量")
    private Long count;
    @Schema(description = "是否为特惠票")
    private Long byUser;//是否为特惠票
}
